package com.fancy.projecty.pojo;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 代理商管理
 */
@Data
public class WaterAgent {
	private Integer agentId;
	private String agentCode;
	private String agentName;
	private String agentPhone;
	private String agentTel;
	private String agentCompanyname;
	private String agentEmail;
	private String agentQq;
	private String agentWechat;
	private String agentOpenid;
	private String agentUsername;
	private String agentPassword;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date agentCreatetime;
	private Integer agentIsdel;
	private String agentState;
	private int staffAgentId;
	//利润比率
	private Double agentDivide;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date agentUpdatetime;

//**********

	public Integer getAgentId() {
		return agentId;
	}

	public void setAgentId(Integer agentId) {
		this.agentId = agentId;
	}

	public String getAgentCode() {
		return agentCode;
	}

	public void setAgentCode(String agentCode) {
		this.agentCode = agentCode;
	}

	public String getAgentName() {
		return agentName;
	}

	public void setAgentName(String agentName) {
		this.agentName = agentName;
	}

	public String getAgentPhone() {
		return agentPhone;
	}

	public void setAgentPhone(String agentPhone) {
		this.agentPhone = agentPhone;
	}

	public String getAgentTel() {
		return agentTel;
	}

	public void setAgentTel(String agentTel) {
		this.agentTel = agentTel;
	}

	public String getAgentCompanyname() {
		return agentCompanyname;
	}

	public void setAgentCompanyname(String agentCompanyname) {
		this.agentCompanyname = agentCompanyname;
	}

	public String getAgentEmail() {
		return agentEmail;
	}

	public void setAgentEmail(String agentEmail) {
		this.agentEmail = agentEmail;
	}

	public String getAgentQq() {
		return agentQq;
	}

	public void setAgentQq(String agentQq) {
		this.agentQq = agentQq;
	}

	public String getAgentWechat() {
		return agentWechat;
	}

	public void setAgentWechat(String agentWechat) {
		this.agentWechat = agentWechat;
	}

	public String getAgentOpenid() {
		return agentOpenid;
	}

	public void setAgentOpenid(String agentOpenid) {
		this.agentOpenid = agentOpenid;
	}

	public String getAgentUsername() {
		return agentUsername;
	}

	public void setAgentUsername(String agentUsername) {
		this.agentUsername = agentUsername;
	}

	public String getAgentPassword() {
		return agentPassword;
	}

	public void setAgentPassword(String agentPassword) {
		this.agentPassword = agentPassword;
	}

	public Date getAgentCreatetime() {
		return agentCreatetime;
	}

	public void setAgentCreatetime(Date agentCreatetime) {
		this.agentCreatetime = agentCreatetime;
	}

	public Integer getAgentIsdel() {
		return agentIsdel;
	}

	public void setAgentIsdel(Integer agentIsdel) {
		this.agentIsdel = agentIsdel;
	}

	public String getAgentState() {
		return agentState;
	}

	public void setAgentState(String agentState) {
		this.agentState = agentState;
	}

	public int getStaffAgentId() {
		return staffAgentId;
	}

	public void setStaffAgentId(int staffAgentId) {
		this.staffAgentId = staffAgentId;
	}

	public Double getAgentDivide() {
		return agentDivide;
	}

	public void setAgentDivide(Double agentDivide) {
		this.agentDivide = agentDivide;
	}

	public Date getAgentUpdatetime() {
		return agentUpdatetime;
	}

	public void setAgentUpdatetime(Date agentUpdatetime) {
		this.agentUpdatetime = agentUpdatetime;
	}
}